FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (31 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-RiskAssessment2to3.html
Url http://hl7.org/fhir/StructureMap/RiskAssessment2to3
Version 0.1.0
Status active
Date 2024-02-22T03:16:50+00:00
Name RiskAssessment2to3
Title RiskAssessment Transforms: R2 to R3
Experimental False
Realm uv
Authority hl7
Description RiskAssessmentTransformsR2toR3

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/RiskAssessment2to3'
/// name = 'RiskAssessment2to3'
/// title = 'RiskAssessment Transforms: R2 to R3'
/// status = 'active'

uses "http://hl7.org/fhir/1.0/RiskAssessment" alias RiskAssessmentR2 as source
uses "http://hl7.org/fhir/3.0/RiskAssessment" alias RiskAssessment as target

imports "http://hl7.org/fhir/StructureMap/*2to3"

group RiskAssessment(source src : RiskAssessmentR2, target tgt : RiskAssessment) extends DomainResource <<type+>> {
  src.subject -> tgt.subject "RiskAssessment-subject";
  src.date -> tgt.occurrence "RiskAssessment-date";
  src.condition -> tgt.condition "RiskAssessment-condition";
  src.encounter -> tgt.context "RiskAssessment-context";
  src.performer -> tgt.performer "RiskAssessment-performer";
  src.identifier -> tgt.identifier "RiskAssessment-identifier";
  src.method -> tgt.method "RiskAssessment-method";
  src.basis -> tgt.basis "RiskAssessment-basis";
  src.prediction as vs0 -> tgt.prediction as vt0 then rskPrediction(vs0, vt0) "RiskAssessment-prediction";
  src.mitigation -> tgt.mitigation "RiskAssessment-mitigation";
}

group rskPrediction(source src, target tgt) extends BackboneElement {
  src.outcome -> tgt.outcome "prediction-outcome";
  src.probability -> tgt.probability "prediction-probability";
  src.relativeRisk -> tgt.relativeRisk "prediction-relativeRisk";
  src.when -> tgt.when "prediction-when";
  src.rationale -> tgt.rationale "prediction-rationale";
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "RiskAssessment2to3",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/RiskAssessment2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'RiskAssessment2to3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'RiskAssessment Transforms: R2 to R3'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'active'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/1.0/RiskAssessment<span style=\"color: navy\">&quot; </span><b>alias </b>RiskAssessmentR2 <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/3.0/RiskAssessment<span style=\"color: navy\">&quot; </span><b>alias </b>RiskAssessment <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*2to3<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>RiskAssessment<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>RiskAssessmentR2, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>RiskAssessment<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.subject<span style=\"color: navy\"><b> -&gt; </b></span>tgt.subject <i>&quot;RiskAssessment-subject&quot;</i><span style=\"color: navy\">;</span>\r\n src.date<span style=\"color: navy\"><b> -&gt; </b></span>tgt.occurrence <i>&quot;RiskAssessment-date&quot;</i><span style=\"color: navy\">;</span>\r\n src.condition<span style=\"color: navy\"><b> -&gt; </b></span>tgt.condition <i>&quot;RiskAssessment-condition&quot;</i><span style=\"color: navy\">;</span>\r\n src.encounter<span style=\"color: navy\"><b> -&gt; </b></span>tgt.context <i>&quot;RiskAssessment-context&quot;</i><span style=\"color: navy\">;</span>\r\n src.performer<span style=\"color: navy\"><b> -&gt; </b></span>tgt.performer <i>&quot;RiskAssessment-performer&quot;</i><span style=\"color: navy\">;</span>\r\n src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier <i>&quot;RiskAssessment-identifier&quot;</i><span style=\"color: navy\">;</span>\r\n src.method<span style=\"color: navy\"><b> -&gt; </b></span>tgt.method <i>&quot;RiskAssessment-method&quot;</i><span style=\"color: navy\">;</span>\r\n src.basis<span style=\"color: navy\"><b> -&gt; </b></span>tgt.basis <i>&quot;RiskAssessment-basis&quot;</i><span style=\"color: navy\">;</span>\r\n src.prediction<b> as </b><span style=\"color: maroon\">vs0</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.prediction<b> as </b><span style=\"color: maroon\">vt0</span><b> then </b>rskPrediction<span style=\"color: navy\">(</span><span style=\"color: maroon\">vs0</span><span style=\"color: navy\">, </span><span style=\"color: maroon\">vt0</span><span style=\"color: navy\">)</span> <i>&quot;RiskAssessment-prediction&quot;</i><span style=\"color: navy\">;</span>\r\n src.mitigation<span style=\"color: navy\"><b> -&gt; </b></span>tgt.mitigation <i>&quot;RiskAssessment-mitigation&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span><b>group </b>rskPrediction<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span>, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\">)</span><b> extends </b>BackboneElement<span style=\"color: navy\"> {\r\n</span> src.outcome<span style=\"color: navy\"><b> -&gt; </b></span>tgt.outcome <i>&quot;prediction-outcome&quot;</i><span style=\"color: navy\">;</span>\r\n src.probability<span style=\"color: navy\"><b> -&gt; </b></span>tgt.probability <i>&quot;prediction-probability&quot;</i><span style=\"color: navy\">;</span>\r\n src.relativeRisk<span style=\"color: navy\"><b> -&gt; </b></span>tgt.relativeRisk <i>&quot;prediction-relativeRisk&quot;</i><span style=\"color: navy\">;</span>\r\n src.when<span style=\"color: navy\"><b> -&gt; </b></span>tgt.when <i>&quot;prediction-when&quot;</i><span style=\"color: navy\">;</span>\r\n src.rationale<span style=\"color: navy\"><b> -&gt; </b></span>tgt.rationale <i>&quot;prediction-rationale&quot;</i><span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/RiskAssessment2to3",
  "version" : "0.1.0",
  "name" : "RiskAssessment2to3",
  "title" : "RiskAssessment Transforms: R2 to R3",
  "status" : "active",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "RiskAssessmentTransformsR2toR3",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/1.0/RiskAssessment",
      "mode" : "source",
      "alias" : "RiskAssessmentR2"
    },
    {
      "url" : "http://hl7.org/fhir/3.0/RiskAssessment",
      "mode" : "target",
      "alias" : "RiskAssessment"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*2to3"
  ],
  "group" : [
    {
      "name" : "RiskAssessment",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "RiskAssessmentR2",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "RiskAssessment",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "RiskAssessment-subject",
          "source" : [
            {
              "context" : "src",
              "element" : "subject",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "subject",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-date",
          "source" : [
            {
              "context" : "src",
              "element" : "date",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "occurrence",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-condition",
          "source" : [
            {
              "context" : "src",
              "element" : "condition",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "condition",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-context",
          "source" : [
            {
              "context" : "src",
              "element" : "encounter",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "context",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-performer",
          "source" : [
            {
              "context" : "src",
              "element" : "performer",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "performer",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-method",
          "source" : [
            {
              "context" : "src",
              "element" : "method",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "method",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-basis",
          "source" : [
            {
              "context" : "src",
              "element" : "basis",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "basis",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-prediction",
          "source" : [
            {
              "context" : "src",
              "element" : "prediction",
              "variable" : "vs0"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "prediction",
              "variable" : "vt0"
            }
          ],
          "dependent" : [
            {
              "name" : "rskPrediction",
              "parameter" : [
                {
                  "valueId" : "vs0"
                },
                {
                  "valueId" : "vt0"
                }
              ]
            }
          ]
        },
        {
          "name" : "RiskAssessment-mitigation",
          "source" : [
            {
              "context" : "src",
              "element" : "mitigation",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "mitigation",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name" : "rskPrediction",
      "extends" : "BackboneElement",
      "input" : [
        {
          "name" : "src",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "prediction-outcome",
          "source" : [
            {
              "context" : "src",
              "element" : "outcome",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "outcome",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "prediction-probability",
          "source" : [
            {
              "context" : "src",
              "element" : "probability",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "probability",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "prediction-relativeRisk",
          "source" : [
            {
              "context" : "src",
              "element" : "relativeRisk",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "relativeRisk",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "prediction-when",
          "source" : [
            {
              "context" : "src",
              "element" : "when",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "when",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "prediction-rationale",
          "source" : [
            {
              "context" : "src",
              "element" : "rationale",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "rationale",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.